#include <iostream>
#include <string>
#include <sstream>
using namespace std;
 int main() {
std::string response;
std::string thisresponse = "";
bool _break = false;
int y = 100;
while (!_break) {
std::cout << "p" << "l" << "e" << "a" << "s" << "e" << " " << "w" << "r" << "i" << "t" << "e" << " " << "h" << "e" << "l" << "l" << "o" << " " << "w" << "o" << "r" << "l" << "d" << std::endl;
std::getline(std::cin, response);
std::string thisresponse(response);

if ((thisresponse)  !=  (std::string ("hello world"))) {
std::cout << "w" << "r" << "o" << "n" << "g" << " " << "i" << "n" << "p" << "u" << "t" << "," << " " << "t" << "r" << "y" << " " << "a" << "g" << "a" << "i" << "n" << std::endl;
continue;

}

else {
if (true) {
std::cout << "G" << "o" << "o" << "d" << " " << "g" << "i" << "r" << "l" << std::endl;
_break = true;

}

else {
break;

}

}

}

}
